package com.ruoyi.aqi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * AQI小时对象 t_aqi_hour
 * 
 * @author houtaroy
 * @date 2024-03-25
 */
public class AqiHour extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 年份 */
    @Excel(name = "年份")
    private Integer year;

    /** 月份 */
    @Excel(name = "月份")
    private Integer month;

    /** 日期 */
    @Excel(name = "日期")
    private Integer day;

    /** 小时 */
    @Excel(name = "小时")
    private Integer hour;

    /** PM2.5的IAQI */
    @Excel(name = "PM2.5的IAQI")
    private Long pm25Iaqi;

    /** PM2.5的24小时平均IAQI */
    @Excel(name = "PM2.5的24小时平均IAQI")
    private Long pm2524AvgIaqi;

    /** PM10的的IAQI */
    @Excel(name = "PM10的的IAQI")
    private Long pm10Iaqi;

    /** PM10的24小时平均IAQI */
    @Excel(name = "PM10的24小时平均IAQI")
    private Long pm1024AvgIaqi;

    /** SO2的IAQI */
    @Excel(name = "SO2的IAQI")
    private Long so2Iaqi;

    /** NO2的IAQI */
    @Excel(name = "NO2的IAQI")
    private Long no2Iaqi;

    /** CO的IAQI */
    @Excel(name = "CO的IAQI")
    private Long coIaqi;

    /** O3的IAQI */
    @Excel(name = "O3的IAQI")
    private Long o3Iaqi;

    /** O3的8小时平均IAQI */
    @Excel(name = "O3的8小时平均IAQI")
    private Long o38AvgIaqi;

    /** AQI */
    @Excel(name = "AQI")
    private Integer aqi;

    /** 空气质量等级 */
    @Excel(name = "空气质量等级")
    private Integer rank;

    /** 地区 */
    @Excel(name = "地区")
    private String station;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setYear(Integer year) 
    {
        this.year = year;
    }

    public Integer getYear() 
    {
        return year;
    }
    public void setMonth(Integer month) 
    {
        this.month = month;
    }

    public Integer getMonth() 
    {
        return month;
    }
    public void setDay(Integer day) 
    {
        this.day = day;
    }

    public Integer getDay() 
    {
        return day;
    }
    public void setHour(Integer hour) 
    {
        this.hour = hour;
    }

    public Integer getHour() 
    {
        return hour;
    }
    public void setPm25Iaqi(Long pm25Iaqi) 
    {
        this.pm25Iaqi = pm25Iaqi;
    }

    public Long getPm25Iaqi() 
    {
        return pm25Iaqi;
    }
    public void setPm2524AvgIaqi(Long pm2524AvgIaqi) 
    {
        this.pm2524AvgIaqi = pm2524AvgIaqi;
    }

    public Long getPm2524AvgIaqi() 
    {
        return pm2524AvgIaqi;
    }
    public void setPm10Iaqi(Long pm10Iaqi) 
    {
        this.pm10Iaqi = pm10Iaqi;
    }

    public Long getPm10Iaqi() 
    {
        return pm10Iaqi;
    }
    public void setPm1024AvgIaqi(Long pm1024AvgIaqi) 
    {
        this.pm1024AvgIaqi = pm1024AvgIaqi;
    }

    public Long getPm1024AvgIaqi() 
    {
        return pm1024AvgIaqi;
    }
    public void setSo2Iaqi(Long so2Iaqi) 
    {
        this.so2Iaqi = so2Iaqi;
    }

    public Long getSo2Iaqi() 
    {
        return so2Iaqi;
    }
    public void setNo2Iaqi(Long no2Iaqi) 
    {
        this.no2Iaqi = no2Iaqi;
    }

    public Long getNo2Iaqi() 
    {
        return no2Iaqi;
    }
    public void setCoIaqi(Long coIaqi) 
    {
        this.coIaqi = coIaqi;
    }

    public Long getCoIaqi() 
    {
        return coIaqi;
    }
    public void setO3Iaqi(Long o3Iaqi) 
    {
        this.o3Iaqi = o3Iaqi;
    }

    public Long getO3Iaqi() 
    {
        return o3Iaqi;
    }
    public void setO38AvgIaqi(Long o38AvgIaqi) 
    {
        this.o38AvgIaqi = o38AvgIaqi;
    }

    public Long getO38AvgIaqi() 
    {
        return o38AvgIaqi;
    }
    public void setAqi(Integer aqi) 
    {
        this.aqi = aqi;
    }

    public Integer getAqi() 
    {
        return aqi;
    }
    public void setRank(Integer rank) 
    {
        this.rank = rank;
    }

    public Integer getRank() 
    {
        return rank;
    }
    public void setStation(String station) 
    {
        this.station = station;
    }

    public String getStation() 
    {
        return station;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("month", getMonth())
            .append("day", getDay())
            .append("hour", getHour())
            .append("pm25Iaqi", getPm25Iaqi())
            .append("pm2524AvgIaqi", getPm2524AvgIaqi())
            .append("pm10Iaqi", getPm10Iaqi())
            .append("pm1024AvgIaqi", getPm1024AvgIaqi())
            .append("so2Iaqi", getSo2Iaqi())
            .append("no2Iaqi", getNo2Iaqi())
            .append("coIaqi", getCoIaqi())
            .append("o3Iaqi", getO3Iaqi())
            .append("o38AvgIaqi", getO38AvgIaqi())
            .append("aqi", getAqi())
            .append("rank", getRank())
            .append("station", getStation())
            .toString();
    }
}
